package com.example.mybatis.sqlserver.springbootmybatissqlserver.pojo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * Created by hzy on 2019/2/19.
 */

public class GetCategoryTreeDTO {

    @JsonProperty("id")
    public String categoryId;

    @JsonProperty("text")
    public String text;

    @JsonProperty("layer")
    public Integer layer;

    @JsonProperty("code")
    public String code;

    @JsonProperty("checked")
    public Boolean checked;

    @JsonProperty("delete")
    public Boolean delete;

    @JsonProperty("parentId")
    public String parentId;

    public List<GetCategoryTreeDTO> children;
}
